package net.lab1024.sa.user.module.business.mall.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 商品
 *
 * @Author 1024创新实验室: 胡克
 * @Date 2021-10-25 20:26:54
 * @Wechat zhuoda1024
 * @Email lab1024@163.com
 * @Copyright 1024创新实验室 （ https://1024lab.net ），2012-2022
 */
@Data
public class GoodsVO {


    @ApiModelProperty("商品id")
    private Long goodsId;

    @ApiModelProperty("商品名称")
    private String goodsName;


    @ApiModelProperty("商品价格")
    private BigDecimal price;

    @ApiModelProperty(value = "g=自营，p=pop")
    private String owner;

    @ApiModelProperty(value = "评论数")
    private Long comments;

    @ApiModelProperty(value = "好评率")
    private Double goodCommentsShare;

    @ApiModelProperty(value = "商品图片")
    private String imgUrl;

    @ApiModelProperty(value = "购买链接")
    private String purchaseLink;

    private LocalDateTime updateTime;

    private LocalDateTime createTime;
}
